package com.yxy.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yxy.common.annotation.Excel;
import com.yxy.common.core.domain.BaseEntity;

/**
 * 接口配置对象 api_config
 * 
 * @author 402844673@qq.com
 * @date 2025-09-02
 */
public class ApiConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** APIid */
    private Long id;

    /** 账户 */
    @Excel(name = "账户")
    private String userName;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private String ipSec;

    /** 负责人 */
    @Excel(name = "负责人")
    private String leader;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 部门状态（0正常 1停用） */
    @Excel(name = "部门状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setIpSec(String ipSec)
    {
        this.ipSec = ipSec;
    }

    public String getIpSec()
    {
        return ipSec;
    }

    public void setLeader(String leader) 
    {
        this.leader = leader;
    }

    public String getLeader() 
    {
        return leader;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("password", getPassword())
            .append("ipSec", getIpSec())
            .append("leader", getLeader())
            .append("phone", getPhone())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
